package com.ruoyi.sumorderorder.api;

import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.sumorderorder.api.factory.RemoteSumorderFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "remoteShopService", value = "che-shop",
        fallbackFactory = RemoteSumorderFallbackFactory.class,path = "/manage")
public interface RemoteSumorderService {
    @GetMapping("/list")
    public TableDataInfo list();
}
